package com.jcl.recruit.server.emessage;

import com.jcl.core.resp.ApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName ElasticsearchServerProxy
 * @Description TODO
 * @Author yyliu
 * @Date 2018/11/14 13:48
 * @Version 1.0
 **/
@FeignClient(name= "emessage-server")
public interface EMessageServerProxy {

    @RequestMapping(value = "/emessage/email/send")
    ApiResponse send(@RequestBody MailMessageVo mailMessageVo);
}
